package com.share.controller;

/**
 * @author sunxuejian
 * @date 2020/10/8
 */
public class BaseController {

    static ThreadLocal<String> uidtl = new ThreadLocal<>();

    public void setUid(String uid) {
        uidtl.set(uid);
    }

    public String getUid() {
        return uidtl.get();
    }
}
